Notification SDK Client 4.36.0
Loading...
Searching...
No Matches
NotificationSDKClient.h
Go to the documentation of this file.
1
2//
3// Copyright (c) since 1999. VASCO DATA SECURITY
4// All rights reserved. http://www.vasco.com
5//
7#import <Foundation/Foundation.h>
8
9NS_ASSUME_NONNULL_BEGIN
10
11static const NSString *NotificationSDKClient_VERSION = @"4.36.0";
12
16NS_REFINED_FOR_SWIFT
17@interface NotificationSDKClient : NSObject
18
19- (instancetype)init NS_UNAVAILABLE;
20+ (instancetype)new NS_UNAVAILABLE;
21
25@property (class, nonatomic, readonly) const NSString *sdkVersion;
26
38typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType) {
39 NotificationSDKClientNotificationTypeNone = 0,
40 NotificationSDKClientNotificationTypeBadge = 1 << 0,
41 NotificationSDKClientNotificationTypeSound = 1 << 1,
42 NotificationSDKClientNotificationTypeAlert = 1 << 2,
43};
44
45
63+ (BOOL)registerNotificationServiceWithNotificationSettings:(NotificationSDKClientNotificationType)notificationType error:(NSError **_Nullable)error;
64
80+ (NSString *_Nullable)getOneSpanNotificationIdentifier:(NSData *)devToken error:(NSError **_Nullable)error;
81
89+ (BOOL)isOneSpanNotification:(NSDictionary *)notification;
90
104+ (NSString *_Nullable)parseOneSpanNotification:(NSDictionary *)notification error:(NSError **_Nullable)error;
105
113+ (NSString *_Nullable)getTitle:(NSDictionary *)notification;
114
122+ (NSString *_Nullable)getSubject:(NSDictionary *)notification;
123
131+ (NSNumber *_Nullable)getBadgeValue:(NSDictionary *)notification;
132
140+ (NSDictionary<NSString *,NSString *> *_Nullable)getCustomAttributes:(NSDictionary *)notification;
141
171
172@end
173
174NS_ASSUME_NONNULL_END
175
Definition NotificationSDKClient.h:18
typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType)
Definition NotificationSDKClient.h:38
const NSString * sdkVersion
Definition NotificationSDKClient.h:25